package com.taplinker.client.core;

import com.taplinker.core.rpc.command.SimpleBaseCommand;

public class CallBackCommand<T> extends SimpleBaseCommand {

	private CallBackInterface<T> callBack;
	
	public CallBackCommand<T> setCallBack(CallBackInterface<T> callBack) {
		this.callBack = callBack;
		this.execute();
		return this;
	}
	
	public CallBackInterface<T> getCallBack() {
		return callBack;
	}
	
}
